package com.younion.business;

import java.util.List;
import java.util.Map;

import com.younion.common.exception.BaseException;
import com.younion.common.paginator.Paginator;
import com.younion.vo.OperateLogVO;

public interface IOperateLogService {

	/**
	 * 向数据库中插入一组记录
	 * @param voList 与数据库中记录对应的值对象集合
	 * @return type : Collection 返回记录插入后返回的对象，对象带主键，操作失败返回null
	 */
	public OperateLogVO save(OperateLogVO voObject) throws Exception;

	/**
	 * 获取记录数
	 * 
	 * @param paramMap
	 * @return
	 * @throws BaseException
	 */
	public int getCountByMap(Map paramMap) throws BaseException;

	/**
	 * 分页查找
	 * 
	 * @param paramMap
	 * @param curPage
	 * @param pageSize
	 * @return
	 * @throws Exception
	 */
	public List get(Map paramMap, Paginator paginator) throws Exception;

}
